
package com.hlkj.pay.gateway.order;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import javax.servlet.http.HttpServletRequest;

import com.hlkj.framework.common.pojo.CommonResult;
import com.hlkj.pay.app.merchant.ext.dto.order.ChannelRiskOrderContext;
import com.hlkj.pay.dto.order.notify.OrderRiskNotifyDto;

/**
 * @author HlpayTeam
 * @date 2024/11/06 13:28
 */
public interface IChannelRiskGateway {

    boolean extensionExist(String channelCode);

    CommonResult<OrderRiskNotifyDto> riskStatusParse(HttpServletRequest request, ChannelRiskOrderContext channelRiskOrderContext);

    CommonResult<String> query(ChannelRiskOrderContext channelComplaintOrderContext);

    CommonResult<String> saveRiskNotifyUrl(ChannelRiskOrderContext channelRiskOrderContext);

}
